package com.aspire.nm.component.miniServerDemo.server;

import com.aspire.nm.component.miniServer.Filter;
import com.aspire.nm.component.miniServer.annotation.cls.Controllers;
import com.aspire.nm.component.miniServer.annotation.filter.FilterRequest;
import com.aspire.nm.component.miniServer.annotation.filter.FilterResponse;
import com.aspire.nm.component.miniServer.protocol.Request;
import com.aspire.nm.component.miniServer.protocol.Response;


@Controllers(path="demo/")
public class Filter2 implements Filter {

    @FilterRequest(pathPattern = ".*")
    public void f2req(Request request){
//        System.out.println("f2req");
    }
    @FilterResponse(pathPattern = ".*")
    public void f2resp(Response response){
//        System.out.println("f2resp");
    }
}
